package br.com.sovi.gwt.client.historico;

import com.gwtext.client.widgets.Panel;

/**
 * @author João Galli
 * 
 */
public class HistoricoMainMenuPanel extends Panel {

	private HistoricoFiltroController historicoFiltroController;

	public HistoricoMainMenuPanel(final HistoricoCentralPanel centralPanel,
			HistoricoListener historicoListener) {
		historicoFiltroController = new HistoricoFiltroController(historicoListener);

		HistoricoFiltroPanel historicoFiltroPanel = historicoFiltroController.getPanel();
		
		this.add(historicoFiltroPanel);
		this.add(new InformacaoMarcadorPanel(centralPanel.getMapWidget()));
	}

}